package chapter_9;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        
        List list = new ArrayList();
        list.add(new Test());
        list.add(new String("ABC"));
        list.add(new Test());
        System.out.println(list.size());
//        System.out.println(Thread.currentThread().getName());
//        MyThread myThread = new MyThread("线程1");
//        MyThread myThread2 = new MyThread("线程2");
//        myThread.start();
//        myThread2.start();

//        Thread t1 = new Thread();
//        t1.start();
    }
}
